﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextEditorDP
{
    public class WindowGuiFactory: GuiFactory
    {
        public WindowGuiFactory()
        {
        }

        public override CPanel MakePanel()
        {
            return new WindowPanel(); 
        }
        public override CToolStrip MakeToolStrip()
        {
            return new WindowToolStrip();
        }
        public override CRichTextBox MakeRichTextBox()
        {
            return new WindowRichTextBox();
        }
        public override CStatusBar MakeStatusBar()
        {
            return new WindowStatusBar();
        }
        public override WordPadMenu MakeWordPadMenu(WordPad wordpad, CStatusBar status)
        {
            return new WindowWordPadMenu(wordpad, status);
        }
    }
}
